package com.qtcm.nas.spc.shouhouguanli.service.impl;

import com.qtcm.nas.spc.pojo.Asmanagement_Out;
import com.qtcm.nas.spc.pojo.Car_Out;
import com.qtcm.nas.spc.shouhouguanli.dao.ImpShouHouDao;
import com.qtcm.nas.spc.shouhouguanli.service.ImpShouHouService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description说明: TODO
 * @Date 2022/7/16 9:04
 * @PackageName:com.jzyh.spc.login.service
 * @ClassName: ImpUserService
 * @Author作者: Spc
 * @Version 1.0
 * @自己写的注释:
 */
@Service("shouHouService")
public class ShouHouService implements ImpShouHouService {
    @Autowired
    @Qualifier("impShouHouDao")
    private ImpShouHouDao impShouHouDao;

    public List<Asmanagement_Out> findShou() {
        return impShouHouDao.findShou();
    }

    //    添加
    public void addShou(Asmanagement_Out asmanagement_out) {
        impShouHouDao.addShou(asmanagement_out);
    }

    //    查询所有信息
    public List<Asmanagement_Out> findZong() {
        return impShouHouDao.findZong();
    }

    //根据会员姓名查询订单号
    public List<String> findHuiYuan(String name) {
        return impShouHouDao.findHuiYuan(name);
    }

    //模糊查询用户的车牌号
    public List<Car_Out> findCar(String name) {
        return impShouHouDao.findCar(name);
    }

    //    根据指定的日期段进行查询
    public List<Asmanagement_Out> findZong(String start, String end, String order_code, String service) {
        return impShouHouDao.findZong(start, end, order_code, service);
    }

    //    根据姓名查询手机号
    public String findPhone(String name) {
        return impShouHouDao.findPhone(name);
    }

    //    根据姓名查询出会员编号
    public Integer findBian(String name) {
        return impShouHouDao.findBian(name);
    }

}
